<?php
include("common.inc.php");
InitGP(array("action","aid")); //初始化变量全局返回
if(GetNum($aid)){
	include(INC_PATH."/article.class.php");
	$art=new ArticleClass();
	$value=$art->getone($aid);	
	
	$datagg=$art->getdata('','typeid=3');
}else showmessage("缺少参数","-1",false);




include template('article');//包含输出指定模板
?>